/* 
 * Copyright (c)	Insighten Intelligent Equipment co.,LTD
 * 
 *  Use of this software is controlled by the terms and conditions found
 *  in the license agreement under which this software has been supplied.
 * 
 */
/** 
 * @file udp_thread.h
 * @brief udp thread header file
 * @author taco [tacoee@gmail.com]
 * @version 0.1
 * @date 2010-09-09
 */
#ifndef UDP_THREAD_H_
#define UDP_THREAD_H_
#include "udp_lib.h"

struct _UdpCliEnv;
typedef struct _UdpCliEnv UdpCliEnv;
UdpCliEnv *udp_cli_env_new();
Ret udp_cli_env_init(UdpCliEnv *thiz, UdpSocket *udp_cli);
Ret udp_cli_env_destroy(UdpCliEnv *thiz);
Ret udp_cli_env_set_lckaddr(UdpCliEnv *thiz, char *lckaddr);

void *udp_cli_thread(void *arg);
#endif /*UDP_THREAD_H_*/
